package com.zhongke.cotrun.service.impl;

import com.zhongke.cotrun.mapper.ReportMapper;
import com.zhongke.cotrun.model.pojo.Report;
import com.zhongke.cotrun.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReportServiceImpl implements ReportService {
    @Autowired
    ReportMapper reportMapper;

    /**
     * 新建举报内容
     * @param report
     * @return
     */
    @Override
    public Boolean insertReport(Report report) {
        return reportMapper.intsertReport(report);
    }
}
